Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App uses lifespan context manager for startup + shutdown #676

Merged
merged 1 commit into from
Mar 15, 2024

Conversation

padraic-shafer
Copy link
Contributor

FastAPI has deprecated the on_event("startup") on_event("shutdown") event handlers. This PR replaces them with the recommended lifetime context manager.

@danielballan danielballan merged commit 13e8f64 into bluesky:main Mar 15, 2024
8 checks passed
hyperrealist pushed a commit to hyperrealist/tiled that referenced this pull request Mar 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants